package com.after.saas.swagger.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description SwaggerProperties配置
 * @Classname SwaggerProperties
 * @Author hjchen
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2023/2/28 10:49
 */

@Data
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {
    /**
     * 是否开启swagger
     */
    private Boolean enabled = false;

    /**
     * swagger会解析的包路径
     **/
    private String basePackage = "com.after.saas";

    /**
     * 标题
     **/
    private String title;

    /**
     * 描述
     **/
    private String description;

    /**
     * 版本
     **/
    private String version;

    /**
     * 许可证
     **/
    private String license;

    /**
     * 许可证URL
     **/
    private String licenseUrl;

    /**
     * 联系人信息
     */
    private Contact contact = new Contact();

}